package com.data.common.constant.enums;


/**
 * @Description
 * @Date 2022/1/10 18:21
 * @Author funing
 */
public enum ContractEnum {


    /**
     *
     */
    CHECK_CONTENT_1000(1000, "该公司不存在："),
    CHECK_CONTENT_1001(1001, "站点与系统不一致："),
    CHECK_CONTENT_1002(1002, "存在无效数据，请认真核对！"),
    CHECK_CONTENT_1200(1200, "、"),
    CHECK_CONTENT_1201(1201, "."),
    CHECK_CONTENT_1202(1202, "/"),
    CHECK_CONTENT_3(1203, ";"),
    CHECK_CONTENT_4(1400, ".xls"),
    CHECK_CONTENT_5(1401, ".xlsx"),
    CHECK_CONTENT_6(1402, ".zip"),
    CHECK_CONTENT_7(1403, "yyyyMMdd"),
    CHECK_CONTENT_8(1404, "yyyy-MM-dd"),
    CHECK_CONTENT_9(1405, "yyyy/MM/dd"),


    //提示信息
    PROMPT_INFORMATION_ERROR_1(1601, "只可以导入xls和xlsx文件！"),
    PROMPT_INFORMATION_ERROR_2(1602, "生成失败！"),
    PROMPT_INFORMATION_ERROR_3(1603, "文件上传失败！请联系管理员"),
    PROMPT_INFORMATION_ERROR_4(1604, "文件上传失败！请检查上传文件是否漏填或格式错误！"),
    PROMPT_INFORMATION_ERROR_5(1605, "生成合同失败！请联系管理员！"),
    PROMPT_INFORMATION_ERROR_6(1606, "获取系统站点失败！请联系管理员！"),
    PROMPT_INFORMATION_ERROR_7(1607, "没有获取到文件内容！"),
    PROMPT_INFORMATION_ERROR_8(1608, "获取基本工资失败！"),
    PROMPT_INFORMATION_ERROR_9(1609, "时间转换失败！"),
    PROMPT_INFORMATION_ERROR_10(1610, "请下载最新附加协议模板编辑对赌条目，重新上传后可转规则。"),
    PROMPT_INFORMATION_ERROR_11(1611, "该附加协议不可转规则。"),

    PARTY_COMPANY_NAME(1800, "海南汇流天下网络科技有限公司"),
    PROFESSION(1801, "配送员岗位"),

    //协议名称
    FRAMEWORK_AGREEMENT(2100, "框架协议"),
    ANNEX_AGREEMENT (2101, "附加协议"),
    STANDARD_SETTLEMENT (2102, "标准协议"),

    BASIC_SETTLEMENT(2300, "基础结算"),
    SEASONAL_SETTLEMENT(2301, "季节结算"),

    ALL_SITE(2500,"全部"),
    OTHER_SITE(2501,"其他站点"),

    CONTRACT_EXPORT(2600,"合同导出"),

    /**
     *  default dir
     */
    FONT_PATH(2700,"\\boot-module-system\\src\\main\\resources\\conf\\font\\simsun.ttc"),
    CONTRACT_PATH(2701,"\\boot-module-system\\src\\main\\resources\\conf\\contract\\agreement.pdf"),
    CONTRACT_PATH_FIXED(2701,"\\boot-module-system\\src\\main\\resources\\conf\\contract\\agreementfixed.pdf"),

    FACE_PATH(2800,"\\boot-module-system\\src\\main\\resources\\conf\\haarcascades\\haarcascade_frontalface_alt.xml"),
    EYE_PATH(2801,"\\boot-module-system\\src\\main\\resources\\conf\\haarcascades\\haarcascade_eye.xml"),
    DLL_PATH(2802,"\\boot-module-system\\src\\main\\resources\\conf\\dll\\opencv_java320.dll"),
    OCR_PATH(2803,"\\boot-module-system\\src\\main\\resources\\conf\\tessdata"),
    ;

    private Integer code;
    private String msg;
    private Integer enumType;

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }


    private ContractEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private ContractEnum(Integer code, String msg, Integer enumType) {
        this.code = code;
        this.msg = msg;
        this.enumType = enumType;
    }

    @Override
    public String toString() {
        return "ContractEnum{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }

}
